package anji.plus.system.mark.mapper;

import anji.plus.system.mark.domain.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统用户表Mapper接口
 * </p>
 *
 * @author luwei
 * @since 2023-11-08
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    List<SysUser> queryUserList(@Param("departNum")String departNum);

    SysUser login(@Param("account")String account,@Param("password")String password);


    SysUser userUpdate(@Param("account")String account,@Param("name")String name,@Param("userId")String userId);

    SysUser queryUserTimes(@Param("account")String account);


    SysUser queryUserInfo(String name);
}
